#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Aug  3 22:54:14 2022

@author: jerry
"""
import json

fr= open("parseOut.json", "r", encoding='utf-8') 
aa = json.loads(fr.read())
fr.close()
print(type(aa))

#print(aa['TextDetections']['2']['DetectedText'])
#error  list indices must be integers or slices, not str

print(aa['TextDetections'][2]['DetectedText'])

print(aa['TextDetections'][81]['DetectedText'])
print(aa['TextDetections'][83]['DetectedText'])
print(aa['TextDetections'][85]['DetectedText'])
print(aa['TextDetections'][87]['DetectedText'])
print(aa['TextDetections'][89]['DetectedText'])
print(aa['TextDetections'][91]['DetectedText'])